package com.javaweb.dao;

import com.javaweb.model.Article;
import com.javaweb.model.Category;

import java.util.Date;
import java.util.List;

public interface CategoryDao {
    /**
     * todo: 实现category的插入
     * @param category
     * @return
     */
    public int insert(Category category) ;

    /**
     * todo: 通过categoryID来查找 category
     * @param categoryId
     * @return
     */
    public Category select(int categoryId) ;


}
